package org.ch04.test00.lx01;

import java.lang.reflect.Field;

/**
 * @author ZQX
 * @date 2025-03-31
 */
public class MainTest02 {
    public static void main(String[] args) throws Exception {
        Student zs = new Student("张三", 25);
        Student ls = new Student("李四", 15);

        CheckStudentUtil.check(Student.class,zs);
        System.out.println(zs);

        CheckStudentUtil.check(Student.class,ls);
        System.out.println(ls);
    }
}
